package cn.iocoder.yudao.framework.operatelog.api.service.permission.impl;

import cn.iocoder.yudao.framework.operatelog.api.dal.mysql.permission.logObjectMapper;
import cn.iocoder.yudao.framework.operatelog.api.service.permission.LoggerObjectService;
import cn.iocoder.yudao.framework.operatelog.core.Logger.logObject;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @auth zh 2021/11/24 21:18
 */
@Service
public class LoggerObjectServiceImpl implements LoggerObjectService {
    @Resource
    private logObjectMapper logObjectMapper;

    @Override
    public int insertLogger(logObject logger) {
        return logObjectMapper.insertLogger(logger);
    }
}
